package com.worthtech.billportal.service;

import java.util.List;

import com.worthtech.billportal.bean.BillShop;
import com.worthtech.billportal.bean.BillShopbank;
import com.worthtech.billportal.bean.BillTradecode;
import com.worthtech.billportal.exception.SCException;

public interface ShopService {
	public String getCount(String tableName, String condition);

	public List getListByHQL(String tableName, int startPage, int perNo,
			String orderby);

	public void addShop(BillShop shop) throws SCException;

	public void updateShop(BillShop shop) throws SCException;

	public void delShop(BillShop shop) throws SCException;

	public void addBank(BillShopbank shop) throws SCException;

	public void updateBank(BillShopbank shop) throws SCException;

	public void delBank(BillShopbank shop) throws SCException;
	
	public void addTrade(BillTradecode shop) throws SCException;

	public void updateTrade(BillTradecode shop) throws SCException;

	public void delTrade(BillTradecode shop) throws SCException;
	
	public void delTable(String tablename,String sql) throws SCException;
}
